package com.jindi.jacococli.biz.business.service;

//import com.jindi.infra.cache.redis.client.TycRedisClient;
//import com.jindi.infra.cache.redis.key.KeyBuilder;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

//import javax.annotation.Resource;


@Slf4j
@Service
public class DemoUserCacheService {

//    @Resource(name = "demoRedisClient")
//    private TycRedisClient<String> tycRedisClient;
//
//    private static final KeyBuilder DEMO_KEY_BUILDER = KeyBuilder.init("demo_prefix", "type", "id");
//
//    public String get(String type, String id) {
//        return tycRedisClient.get(DEMO_KEY_BUILDER.build(type, id));
//    }
//
//    public void set(String type, String id, String value) {
//        tycRedisClient.set(DEMO_KEY_BUILDER.build(type, id), value);
//    }

}
